body,
html,
#app {
  line-height: 1.25;
  font-size: 14px;
  font-family: microsoft yahei, 微软雅黑, PingFang SC, Helvetica Neue, Helvetica,
  arial, STHeiTi, sans-serif;
  // user-select: none;
  -webkit-tap-highlight-color: transparent;
  background: $theme-bg-color;
  color: $font-color-normal;
  min-width: 320px;
  height: 100%;
}

body {
  //padding: 10px;
  position: relative;

  span {
    font-weight: inherit;
  }
}

* {
  box-sizing: border-box;
}

.ly-border-card {
  border-radius: 6px;
  background-color: #ffffff;
  padding: 10px 10px 10px 10px;
  overflow: hidden;
}

.highlight-text {
  color: $theme-color;
  font-weight: bold;
}

.color-line {
  display: inline-block;
  width: 3px;
  height: 16px;
  border-radius: 4px;
  background-color: $theme-color;
  margin-right: 4px;
  vertical-align: top;
}

.flex-center-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-center-around {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.no-border-select {
  .el-select__wrapper {
    box-shadow: none;
    outline: none;
  }
}

.common-van-dialog {
  .common-van-content {
    padding: 10px;
    max-height: 70vh;
    overflow: auto;
  }
}

.title {
  font-weight: bold;
  margin-right: 4px;
}

.iconfont {
  &.icon-zhutiren,
  &.icon-shangji {
    color: #808080;
  }
}

//统一滚动条样式
.hx-scroll {
  &::-webkit-scrollbar-track-piece {
    background: #f0f3f8;
  }

  &::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  &::-webkit-scrollbar-thumb {
    background: $font-color-gray-4;
    border-radius: 10px;
    width: 6px;
    height: 6px;
  }
}

// 覆盖vant部分样式
.van-tab.van-tab--active {
  font-size: 18px;
}

.van-tab + .van-tab {
  margin-left: 50px;
}

// vantV4具体全局样式可参考：https://vant-ui.github.io/vant/#/zh-CN/config-provider
:root:root {
  --van-button-primary-background: #{$orange-color} !important;
  --van-button-primary-border-color: #{$orange-color} !important;
  --van-tabs-bottom-bar-color: #{$theme-color} !important;
  --van-checkbox-checked-icon-color: #{$theme-color} !important;
  --van-divider-margin: var(--van-padding-xs) 0;
  --van-sidebar-padding: var(--van-padding-xs);
  --van-checkbox-size: #{$font-size-medium};
  --van-back-top-background: #{$orange-color};
  --van-sidebar-selected-border-color: #{$theme-color};
  --van-collapse-item-content-padding: var(--van-padding-xs);
  --van-collapse-item-content-text-color: #{$font-color-normal};
  --van-nav-bar-arrow-size: 18px;
  --van-nav-bar-icon-color: #{$font-color-normal};
  --van-cell-horizontal-padding: 0px;
  --van-search-content-background: #{$theme-bg-color};
  --van-tabs-bottom-bar-height: 5px;
  --van-dialog-header-padding-top: 10px;
}
